<template>
  <div>
    {{ num }}
    <button @click="num++" >点击我</button>
  </div>
</template>

<script setup >
import {ref} from 'vue';
const num = ref(0)
</script>

<style scoped>

</style>